import os


def proxy_setup():
    os.environ['HTTP_PROXY'] = 'http://127.0.0.1:3130'
    os.environ['HTTPS_PROXY'] = 'http://127.0.0.1:3130'
    os.environ['NO_PROXY'] = '127.0.0.1'


def chatgpt_proxy_setup():
    # mitmdump -p 8008 -m reverse:http://20.150.220.45:80 --flow-detail 4
    os.environ['OPENAI_API_BASE'] = "http://127.0.0.1:8008/chatgpt/v1"
